package com.example.pjy.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Student {
    private int studentId;
    private String sname;
    private int sgrade;
    private String major;
    private int status;
    @JsonFormat(pattern="yyyy-MM-dd HH-mm:ss")
    private LocalDateTime createTime;
    @JsonFormat(pattern="yyyy-MM-dd HH-mm:ss")
    private LocalDateTime updateTime;
}
